package com.aaronprj.school.mbooks.uivo;

public class UIOrderItem {

	private int id;
	private int itemId;
	private String itemName;
	private int units;
	private double actualPrice;
	private double totalPrice;
	
	public UIOrderItem(){
		
	}
	

	public UIOrderItem(int id, UIBookItem item, int units, double actualPrice, double totalPrice){
		this.id = id;
		this.itemName = item.getName();
		this.itemId = item.getId();
		this.units = units;
		this.actualPrice = actualPrice;
		this.totalPrice = totalPrice;
	}


	public int getId() {
		return id;
	}


	public void setId(int id) {
		this.id = id;
	}


	public int getItemId() {
		return itemId;
	}


	public void setItemId(int itemId) {
		this.itemId = itemId;
	}


	public String getItemName() {
		return itemName;
	}


	public void setItemName(String itemName) {
		this.itemName = itemName;
	}


	public int getUnits() {
		return units;
	}


	public void setUnits(int units) {
		this.units = units;
	}


	public double getActualPrice() {
		return actualPrice;
	}


	public void setActualPrice(double actualPrice) {
		this.actualPrice = actualPrice;
	}


	public double getTotalPrice() {
		return totalPrice;
	}


	public void setTotalPrice(double totalPrice) {
		this.totalPrice = totalPrice;
	}
	
	
}
